<?php
include("header.php");
?>
<!--header end of-->
<script type="text/javascript">
function subcontact() 
{ 
	var ok = true;

	
	if(!test_email(document.getElementById("uemail").value)) 
	{ 
		document.getElementById("ulemail").style.color="Red";
		ok = false; 
	}else{
		document.getElementById("ulemail").style.color="Black";
	}
	if(!test_null(document.getElementById("unom").value)) 
	{ 
		document.getElementById("ulnom").style.color="Red";
		ok = false;  
	}else{
		document.getElementById("ulnom").style.color="Black";
	}
	if(!test_null(document.getElementById("uprenom").value)) 
	{ 
		document.getElementById("ulprenom").style.color="Red";
		ok = false;  
	}else{
		document.getElementById("ulprenom").style.color="Black";
	}
	if(!test_null(document.getElementById("umsg").value)) 
	{ 
		document.getElementById("lmsg").style.color="Red";
		ok = false;  
	}else{
		document.getElementById("lmsg").style.color="Black";
	}
	

	if(ok){
		document.getElementById("contact").submit();
	}
} 
</script>
<div class="contactBg">
  <div class="contact">
    <ul style="text-align:right">
    <?php if($_lang==FR){ ?>
      <li><?=get_local_value($_lang,"index")?>></li>
      <li><?=get_local_value($_lang,"contact")?></li>
    <?php }else{?>
      <li><?=get_local_value($_lang,"contact")?></li>
      <li><<?=get_local_value($_lang,"index")?></li>
    <?php }?>
    </ul>
  </div>
  <!--contact end of-->
  <div class="contactForm">
  <form id="contact" action="contactmail.php" method="post">
     <h3>Kachmir Consultancy</h3>
     <ul>
       <li><i class="emailIcon"></i>contact@kacho-resto.com</li>
       <li><i class="placeIcon"></i>4 rue des Mariniers, 75014 Paris</li>
       <li><i class="phoneIcon"></i>06 30 35 20 32 / 06 37 42 86 59</li>
     </ul>
     <dl>
       <dt><?=get_local_value($_lang,"formula")?></dt>
       <dd><label id="ulnom"><?=get_local_value($_lang,"nom")?></label> <sub>*</sub><input id="unom" name="unom" type="text" class="input197" style="width: 180px" value=""/></dd>
       <dd><label id="ulprenom"><?=get_local_value($_lang,"prenom")?></label> <sub>*</sub><input id="uprenom" name="uprenom" type="text" class="input197" value=""/></dd>
       <?php if($_lang==FR){ ?>
       <dd><label id="ulemail"><?=get_local_value($_lang,"email")?></label><sub>*</sub><input id="uemail" name="uemail" type="text" class="input318" value=""/></dd>
       <?php }else{?>
       <dd><label id="ulemail"><?=get_local_value($_lang,"email")?></label><sub>*</sub><input id="uemail" name="uemail" type="text" class="input318" value="" style="width:245px" /></dd>
       <?php }?>
       <dd><label id="lmsg"><?=get_local_value($_lang,"message")?></label> <sub>*</sub></dd>
       <dd><textarea id="umsg" name="umsg" cols="" rows="" class="textareaBg"></textarea></dd>
       <dd><span class="fl"><?=get_local_value($_lang,"need")?> <sub>*</sub></span><input name="" type="button" onClick="subcontact()" class="enterBtn fr"/></dd>
     </dl>
  </form>
  </div>
  <!--contactForm end of-->
</div>
<!--contactBg end of-->
<?php
include("foot.php");
?>
